package com.wutong.authority_server.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wutong.authority_server.entity.Permission;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface PermissionMapper extends BaseMapper<Permission> {

    List<String> selectPermissionValueByUserId(Integer userId);

    List<Permission> selectPermissionByUserId(Integer userId);

    List<String> selectAllPermissionValue();


}
